home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2000 #5 / Amiga Plus CD - 2000 - No. 5.iso / Tools / Dev / fpc / source / docs / refex / ex96.pp < prev    next >
Encoding:
Text File  |  2000-01-01  |  282 b   |  16 lines

  1. Program Example96;
  2.  
  3. { Program to demonstrate the Assigned function. }
  4.  
  5. Var P : Pointer;
  6.  
  7. begin
  8.   If Not Assigned(P) then
  9.     Writeln ('Pointer is initially NIL');
  10.   P:=@P;
  11.   If Not Assigned(P) then
  12.     Writeln('Internal inconsistency')
  13.   else
  14.     Writeln('All is well in FPC')
  15. end.
  16.